home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.unix.questions,comp.lang.c
- Subject: Re: Bold ASCII
- Date: Fri, 15 Mar 96 16:00:00 GMT
- Organization: none
- Message-ID: <826905600snz@genesis.demon.co.uk>
- References: <4i7cpj$hqa@nexen.nexen.com> <31494BF9.1654@cs.bham.ac.uk>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <31494BF9.1654@cs.bham.ac.uk> txk@cs.bham.ac.uk "Ghoti" writes:
-
- >Matthew B. Doar wrote:
- >>
- >> Anyone know how to get bold strings of text
- >> from a program (termcap related?)
- >>
- >> e.g.
- >>
- >> printf("\012 This is in bold \013\n");
- >>
- >> where \012 and \013 are whatever the magic ascii values
- >> are to turn on and off bold.
- >>
- >> ~Matt
- >
- >The ascii values are \033[1m to turn bold on and \033[0m to turn it off.
- >(out of interest)
-
- Control sequences are specific to the type of terminal you are using
- (which may not even support bold). ASCII is simply a character set - it
- doesn't define screen attributes.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-